package com.gec.wiki.pojo.resp;

import com.gec.wiki.pojo.req.PageReq;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 
 * @TableName doc
 */

@Data
public class DocSaveResp extends PageReq {
    private Integer id;
    @NotNull(message = "【电子书】不能为空")
    private Long ebookId;
    @NotNull(message = "【父文档】不能为空")
    private Long parent;
    @NotNull(message = "【名称】不能为空")
    private String name;
    @NotNull(message = "【排序】不能为空")
    private Integer sort;
    private Object viewCount;
    private Object voteCount;

}